﻿/*****************************************************************//**
 * @file    FITKAcousticsVTKViewAdaptorSEAJunctionPoint.h
 * @brief   Adaptor for SEA junction point data.
 *  
 * @author  ChengHaotian (yeguangbaozi@foxmail.com)
 * @date    2024-11-13
 *********************************************************************/

#ifndef __FITKACOUSTICSVTKVIEWADAPTORSEAJUNCTIONPOINT_H__
#define __FITKACOUSTICSVTKVIEWADAPTORSEAJUNCTIONPOINT_H__

#include "FITKAcousticsVTKViewAdaptorBase.h"

#include "FITKAcousticsVTKGraphAdaptorAPI.h"

namespace Exchange
{
    /**
     * @brief   Graph object data adaptor for 'SEA junction point'.
     * @author  ChengHaotian (yeguangbaozi@foxmail.com)
     * @date    2024-11-13
     */
    class FITKACOUSTICSGRAPHADAPTORAPI FITKAcousticsVTKViewAdaptorSEAJunctionPoint : public FITKAcousticsVTKViewAdaptorBase
    {
        // Regist
        FITKCLASS(Exchange, FITKAcousticsVTKViewAdaptorSEAJunctionPoint);

    public:
        /**
         * @brief   Constructor.
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-11-13
         */
        explicit FITKAcousticsVTKViewAdaptorSEAJunctionPoint() = default;

        /**
         * @brief   Destructor.
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-11-13
         */
        ~FITKAcousticsVTKViewAdaptorSEAJunctionPoint() = default;

        /**
         * @brief   Execute the data exchange.[override]
         * @return  Is OK
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-11-13
         */
        bool update() override;

    };

    // Regist SEA junction point adaptor
    Register2FITKViewAdaptorFactory(SEAJunctionPoint, Acoustics::FITKSEAJunctionPoint, FITKAcousticsVTKViewAdaptorSEAJunctionPoint);
}   // namespace Exchange

#endif // __FITKACOUSTICSVTKVIEWADAPTORSEAJUNCTIONPOINT_H__